package cn.hl.hm.service;

import java.util.List;

import cn.hl.hm.entity.RouteVehiclePrice;

public interface RouteVehiclePriceService {
	/**
	  * @Title: selectUserByUserAccount  
	  * @Description: 支持所有字段的条件查询
	  * @date: 2017年1月3日
	  * @author: 星矢
	  * @param userAccount
	  * @return List<VehicleType> 
	  * @throws
	 */
	public  List<RouteVehiclePrice> selectRouteVehiclePrice(RouteVehiclePrice routeVehiclePrice);
	public  List<RouteVehiclePrice> selectRouteVehiclePriceByDate(RouteVehiclePrice routeVehiclePrice);
	public List<RouteVehiclePrice> selectRouteVehiclePriceForAddQuartz(RouteVehiclePrice routeVehiclePrice) ;
	
	
	
	/**
	 * 查询某个路线对象的某个车型下昨日价格列表。目的：获取昨日价格最新的一条记录
	 * @param routeVehiclePrice
	 * @return
	 */
	public List<RouteVehiclePrice> selectRouteVehiclePriceByRouteId(RouteVehiclePrice routeVehiclePrice) ;
	
	public  int  addRouteVehiclePrice(RouteVehiclePrice routeVehiclePrice);

	public  int  updateRouteVehiclePrice(RouteVehiclePrice routeVehiclePrice);
	
	/**
	 * 获取各个线路当日最低报价
	 * @param routeVehiclePrice
	 * @return
	 */
	public List<RouteVehiclePrice> selectRouteVehiclePriceForDriver(RouteVehiclePrice routeVehiclePrice);
	/**
	 * 获取各个线路当日最低报价
	 * @param routeVehiclePrice
	 * @return
	 */
	public List<RouteVehiclePrice> selectRouteVehiclePriceByConditionForDriver(RouteVehiclePrice routeVehiclePrice);
	
	/**
	 * 车型运价管理 根据当日日期分组并获取当日最新的那条记录
	 * @param routeVehiclePrice
	 * @return
	 */
	public List<RouteVehiclePrice> selectRouteVehiclePriceByDayLast(RouteVehiclePrice routeVehiclePrice);
	
	
	/**
	 * 获取各个线路当日最新报价
	 * @param routeVehiclePrice
	 * @return
	 */
	public List<RouteVehiclePrice> selectRouteVehiclePriceByConditionForBackSendOrder(RouteVehiclePrice routeVehiclePrice);
}
